home *** CD-ROM | disk | FTP | other *** search
/ Aminet 51 / Aminet 51 (2002)(GTI - Schatztruhe)[!][Oct 2002].iso / Aminet / dev / c / minigl.lha / MiniGL / include / mgl / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-06-02  |  1.7 KB  |  91 lines

  1.  
  2. /*
  3.  * $Id: config.h,v 1.1.1.1 2000/04/07 19:44:51 tfrieden Exp $
  4.  *
  5.  * $Date: 2000/04/07 19:44:51 $
  6.  * $Revision: 1.1.1.1 $
  7.  *
  8.  * (C) 1999 by Hyperion
  9.  * All rights reserved
  10.  *
  11.  * This file is part of the MiniGL library project
  12.  * See the file Licence.txt for more details
  13.  *
  14.  */
  15.  
  16. #ifndef __GLCONFIG_H
  17. #define __GLCONFIG_H
  18.  
  19.  
  20. /* This define enables clamping glColor functions
  21. ** (only the lazy programmer needs this overhead :))
  22. */
  23.  
  24. #define CLAMP_COLORS 1
  25.  
  26. /* This define enables some sanity-checks for vertexarrays.
  27. **
  28. ** If disabled, make sure that the following is in "sync":
  29. **
  30. ** - glShadeModel, glColorPointer and GL_COLOR_ARRAY
  31. **
  32. ** - GL_TEXTURE_2D, glTexCoordPointer and
  33. **   GL_TEXTURE_COORD_ARRAY
  34. **
  35. */
  36.  
  37. //#define VA_SANITY_CHECK 1
  38.  
  39.  
  40. /* define if you want to use static inline functions instead
  41. ** of macros
  42. */
  43.  
  44. //#define USE_MGLAPI 1
  45.  
  46. //this tells mglmacros.h not to replace the API:
  47.  
  48. #ifdef USE_MGLAPI
  49.     #define NO_MGLMACROS 1
  50. #else
  51.     #undef NO_MGLMACROS
  52. #endif
  53.  
  54.  
  55. // Stack sizes of the different matrix stacks
  56.  
  57. #define MODELVIEW_STACK_SIZE    40
  58. #define PROJECTION_STACK_SIZE  5
  59.  
  60. // Define this to make mglLockMode available
  61. #define AUTOMATIC_LOCKING_ENABLE 1
  62.  
  63. // Define this is you don't want the ability to log GL calls
  64. #define NLOGGING 1
  65.  
  66. // Define if you don't want debugging
  67. #define GLNDEBUG 1
  68.  
  69. // Define if you don't want glGetError functionality
  70. #define GL_NOERRORCHECK 1
  71.  
  72.  
  73. // Define if you don't want to check if the bitmaps allocated for
  74. // screen buffering are cybergraphics bitmaps
  75. #define NCGXDEBUG 1
  76.  
  77. // define if you don't want to draw anything
  78. // #define NODRAW
  79.  
  80. // Maximum number of vertices a primitive can have
  81. // Raise this value if needed, but this *should* really be enough.
  82.  
  83. #define MGL_MAXVERTS 1024
  84.  
  85. #endif
  86.  
  87.  
  88.  
  89.  
  90.  
  91.